Skip to main content

Mews

How to authenticate the integration​

We'll use a test app, Acme AI, to show how an end-user can authenticate the integration between Mews and Acme AI.


Step 1: Obtain Access Tokens​

Production Environment​

To receive credentials for production usage, you must successfully complete the Mews Certification Process. After certification:

  1. Your integration profile will be created.
  2. You will automatically receive a unique ClientToken, which remains the same for all connections in the production environment.
  3. A unique AccessToken will be generated and shared with you for each enterprise requesting to connect their Mews profile to your system.

Step 2: Configure Integration Settings in Calry​

This setup is required only once by the company integrating with Calry APIs, as part of the Mews certification setup.

  1. Open the Calry web app and navigate to:
    Settings > Integrations > Click on ‘Configure’ under Mews.
  2. In the configuration modal, add your ClientToken in the integration headers as shown below:
    "client_token"="your_client_token"

Step 3: Authenticate the Integration (End User Flow)​

  1. Enter the AccessToken obtained during the certification process in the Calry Authentication Screen and click on Connect.
  2. Upon successful authentication, you will see a confirmation message and be redirected back to the Acme AI app.